package symbols;

public class Symbol implements ISymbol {
	protected final int type;
	protected final String name;
	
	protected Symbol(int type, String name) {
		this.type = type;
		this.name = name;
	}
	
	public boolean is(int type) {
		return type == this.type;
	}

	public String getName() { 
		return name;
	}
}
